package com.itasura.chain.doctor;

import com.itasura.chain.AbstractWorkChain;
import com.itasura.chain.RegisterType;
import com.itasura.chain.Request;
import lombok.extern.slf4j.Slf4j;

/**
 * 化验科
 * @author sailor wang
 * @date 2018/8/27 下午3:12
 * @description
 */
@Slf4j
public class AssayChain extends AbstractWorkChain{
    @Override
    public void handleRequest(Request request) {
        if (request == null || !request.getIsRegister()){
            log.info("化验科：请先挂号。");
            return;
        }
        log.info("化验科：来，我们做个化验。。。。");
    }
}